package java1.bookExame;

import java.util.Date;

/**
 * Created by asus on 2017/10/22.
 */
public class Tsub extends T {
    @Override
    public void test() {
        System.out.println('h');
    }

    public static void main(String[] args) {
        Date date=new Date();
        Date date1=date;
        Date date2= (Date) date.clone();
        System.out.println(date==date1);
        System.out.println(date==date2);
        System.out.println(date.equals(date2));
    }
}
